package logic;

import java.awt.Point;
import java.awt.Rectangle;
import java.util.Vector;

public class Player {
/*
 * Atributes
 */
	public String name;
	public int gold;
	public int id;
	public Rectangle castlePosition;
	public Vector <Piece>castle;

/*
 * Constructors
 */	
	public Player(String _name, int _id){
		name = _name;
		gold = 100;
		id = _id;
		castle = new Vector <Piece>(0);
	}
	
/*
 * Setters
 */
	public boolean setCastlePosition(Point position){
		Rectangle rect = new Rectangle(position.x, position.y, 10, 10);
		castlePosition = rect;
		return true;
	}
}
